package com.flyway.pojo;

import lombok.Data;

@Data
public class MenuEntity {
    // 菜单ID
    private String id;
    // 上级菜单ID
    private String pid;
    // 菜单名称
    private String name;
    // 菜单编码
    private String code;
    // 菜单图标
    private String icon;
    // 菜单链接
    private String url;

    public MenuEntity(String id, String pid, String name, String code, String icon) {
        this.id = id;
        this.pid = pid;
        this.name = name;
        this.code = code;
        this.icon = icon;
    }
}